#ifndef _DUSH_COMMON_H_
#define _DUSH_COMMON_H_

#define DUSH_OK			0
#define ERR_DUSH_GENERAL	1
#define ERR_DUSH_INVALIDARG	2
#define ERR_DUSH_EBC		3
#define ERR_DUSH_EXIST		4
#define ERR_DUSH_NOTEXIST	5

#define DUSH_FILEOPT_FORCE	0x0001

typedef int	dush_err_t;
typedef int	dush_fileopt_t;
typedef int	dush_fid_t;

typedef enum {
	DUSH_FILEOP_CREATE,
	DUSH_FILEOP_CLOSE,
	DUSH_FILEOP_WRITE,
	DUSH_FILEOP_REMOVE,
} dush_fileop_t;


#endif